package buffer;

import java.io.IOException;
import java.io.InputStream;
import java.io.PrintStream;

public class SystemInOut {
	public static void main(String[] args) throws IOException {
		//了解,打印字节流
		PrintStream o = System.out;
		
		o.println("abc");
		o.println(123);
		o.println(true);
		o.println('哈');
		
		
		InputStream in = System.in;
		int ch = in.read(); //从键盘输入一个字符
		System.out.println((char)ch);
	}
}	
